package com.ziyun.erp.modules.configPointSku.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 积分商品表
 * 
 * @author xueqz
 * @email 
 * @date 2018-09-17 11:27:00
 */
@TableName("config_point_sku")
public class ConfigPointSkuEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 *
	 */
	@TableField(exist = false)
	private String productNmae;
	/**
	 * id
	 */
	@TableId
	private Integer id;
	/**
	 * 商品sku,产品id
	 */
	private Integer sku;
	/**
	 * 兑换商品所需积分
	 */
	private Integer needPoints;
	/**
	 * 优惠券兑换数量
	 */
	private Integer exchangeNum;
	/**
	 * 间隔天数
	 */
	private Integer intervalTime;
	/**
	 * 是否上架:0-下架 1-上架
	 */
	private boolean marketable;
	/**
	 * 开始时间
	 */
	private String startTime;
	/**
	 * 结束时间
	 */
	private String endTime;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 排序
	 */
	private Integer pOrder;

	/**
	 * 设置：id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * 获取：id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * 设置：商品sku,产品id
	 */
	public void setSku(Integer sku) {
		this.sku = sku;
	}

	/**
	 * 获取：商品sku,产品id
	 */
	public Integer getSku() {
		return sku;
	}

	/**
	 * 设置：兑换商品所需积分
	 */
	public void setNeedPoints(Integer needPoints) {
		this.needPoints = needPoints;
	}

	/**
	 * 获取：兑换商品所需积分
	 */
	public Integer getNeedPoints() {
		return needPoints;
	}

	/**
	 * 设置：优惠券兑换数量
	 */
	public void setExchangeNum(Integer exchangeNum) {
		this.exchangeNum = exchangeNum;
	}

	/**
	 * 获取：优惠券兑换数量
	 */
	public Integer getExchangeNum() {
		return exchangeNum;
	}

	/**
	 * 设置：间隔天数
	 */
	public void setIntervalTime(Integer intervalTime) {
		this.intervalTime = intervalTime;
	}

	/**
	 * 获取：间隔天数
	 */
	public Integer getIntervalTime() {
		return intervalTime;
	}

	/**
	 * 设置：是否上架:0-下架 1-上架
	 */
	public void setMarketable(boolean marketable) {
		this.marketable = marketable;
	}

	/**
	 * 获取：是否上架:0-下架 1-上架
	 */
	public boolean getMarketable() {
		return marketable;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	/**
	 * 设置：备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * 获取：备注
	 */
	public String getRemark() {
		return remark;
	}

	public Integer getpOrder() {
		return pOrder;
	}

	public void setpOrder(Integer pOrder) {
		this.pOrder = pOrder;
	}

	public String getProductNmae() {
		return productNmae;
	}

	public void setProductNmae(String productNmae) {
		this.productNmae = productNmae;
	}
}

